<?php

/** * @Entity @Table(name="TUserProfessor") */
class UsuarioProfessor extends UsuarioRestrito
{
   /** @Column(length=15, name="UsuarioProfessor_siape") */
   private $_siape;
   /** @Column(length=11, name="UsuarioProfessor_cpf") */
   private $_cpf;
   /** @Column(length=30, name="UsuarioProfessor_departamento") */
   private $_departamento;
   
   public function __construct($siape = '', $cpf = '', $departamento = '')  
   {
      	   
	  $this->_siape = $siape;
	  $this->_cpf = $cpf;
	  $this->_departamento = $departamento;
   }
   
   // set methods 
   public function setSiape($newValue) { $this->_siape = $newValue; }
   public function setCpf($newValue) { $this->_cpf = $newValue; }
   public function setDepartamento($newValue) { $this->_departamento = $newValue; }
   
   // get methods
   public function getSiape() { return $this->_siape; }
   public function getCpf() { return $this->_cpf; }
   public function getDepartamento() { return $this->_departamento; }
   
   // tostring method
   public function toString() 
   { 
      // a definir
   }
     
}

?>
